home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2004 July
/
CMCD0704.ISO
/
Software
/
Freeware
/
Comunicatii
/
htttrack
/
httrack-3.32-2.exe
/
{app}
/
src_win
/
WinHTTrack
/
XSHBrowseForFolder.h
< prev
Wrap
C/C++ Source or Header
|
1999-10-16
|
1KB
|
35 lines
// ----------------------------------------------------------------------
// 'extended' SHBrowseForFolder routine. ('New folder' button added)
// Written by Xavier Roche, with the help of Gil Rosin,
// Todd Fast's routines from Pencilneck Software and other Usenet contributors.
//
// Usage: (example)
// CString path = XSHBrowseForFolder(this->m_hWnd,"Select path","c:\\") {
//
// Freeware, but no warranty!
//
// #include "NewFolder.h" for Input dialog (new folder)
// #include <direct.h> for _mkdir
// ----------------------------------------------------------------------
#if !defined(__XSHBrowseForFolder_routines)
#define __XSHBrowseForFolder_routines
// TODO: Put here your ressource definition
#include "resource.h"
#include "NewFolder.h"
#include <direct.h>
#include "shlobj.h"
#define XSHBrowseForFolder_SETSTRING 1234
#define XSHBrowseForFolder_OK 1
CString XSHBrowseForFolder (HWND hwnd,char* title,char* _path);
long __stdcall XSHBFF_WndProc (HWND hwnd,UINT uMsg,WPARAM wParam,LPARAM lParam);
int __stdcall XSHBFF_CallbackProc(HWND hwnd,UINT uMsg,LPARAM lParam,LPARAM lpData);
LPITEMIDLIST XSHBFF_PathConvert (HWND hwnd,char* _path);
#endif